package com.ruoyi.swimming.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.swimming.domian.Customer;

import java.util.List;

/**
 * 客户Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface CustomerMapper extends BaseMapper<Customer>
{
    /**
     * 查询客户
     * 
     * @param id 客户ID
     * @return 客户
     */
    public Customer selectCustomerById(Long id);

    /**
     * 查询客户列表
     * 
     * @param customer 客户
     * @return 客户集合
     */
    public List<Customer> selectCustomerList(Customer customer);

}
